﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class NghiPhepBUS
    {
        public static bool Insert(NghiPhepDTO np)
        {
            try
            {
                return NghiPhepDAO.Insert(np);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static List<NghiPhepDTO> SelectAll(string Ngay)
        {
            return NghiPhepDAO.SelectAll(Ngay);
        }
    }
}
